<?php /* Smarty version 2.6.18, created on 2011-08-15 10:28:53
         compiled from duyet_par_fdintcddetail.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Duyen lien ket')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name="lienket" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="15%"><?php echo $this->_tpl_vars['lbl_maKH']; ?>
</td>
    <td width="24%" style="color:#FF0000"><input name="TERMINTCD" id="TERMINTCD" type="text" style="background:<?php echo $this->_tpl_vars['colorTERMINTCD']; ?>
" value="<?php echo $this->_tpl_vars['TERMINTCD']; ?>
" size="20" maxlength="10" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readonly" <?php endif; ?> />
      *
      <input type="submit" name="find" value="    " id="replacement_find" /></td>
    <td width="16%"><?php echo $this->_tpl_vars['lbl_TrangThai']; ?>
</td>
    <td width="45%"><span style="color:#FF0000">
      <select name="STATUS" size="1" style="background:<?php echo $this->_tpl_vars['colorSTATUS']; ?>
"; <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>>
        
      <?php $_from = $this->_tpl_vars['cbo_STATUS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeSTATUS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
        
       <?php endforeach; endif; unset($_from); ?>
    
    
      </select>
      *
      <input name="hiddenSTATUS" type="hidden" value="<?php echo $this->_tpl_vars['STATUS']; ?>
" />
    </span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_KyHanTu']; ?>
</td>
    <td><input name="FRMTERM" id="FRMTERM" type="text" value="<?php echo $this->_tpl_vars['FRMTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorFRMTERM']; ?>
; text-align:right"  size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="FRMTERMCD" size="1" disabled="disabled" >
        <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
     
         <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
          <?php endforeach; endif; unset($_from); ?>
    </select>
        <input name="hiddenFRMTERMCD" type="hidden" value="<?php echo $this->_tpl_vars['FRMTERMCD']; ?>
" /></td>
    <td><?php echo $this->_tpl_vars['lbl_KyHanDen']; ?>
 </td>
    <td><input name="TOTERM" id="TOTERM" type="text" value="<?php echo $this->_tpl_vars['TOTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorTOTERM']; ?>
; text-align:right" size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="TOTERMCD" size="1" disabled="disabled">
          
          
        <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        
          <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
          
          <?php endforeach; endif; unset($_from); ?>
      
        </select>
        <input name="hiddenTOTERMCD" type="hidden" value="<?php echo $this->_tpl_vars['TOTERMCD']; ?>
" /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_LaiSuat']; ?>
</td>
    <td><input name="INTRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorlaisuat']; ?>
; text-align:right" value="<?php echo $this->_tpl_vars['INTRATE']; ?>
" size="20" maxlength="12" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" readonly="readonly"/></td>
	<td><?php echo $this->_tpl_vars['lbl_MaLaiSuat']; ?>
</td>
		<td><input name="INTRATECD" id="INTRATECD" type="text" style="background:<?php echo $this->_tpl_vars['colormaLS']; ?>
" value="<?php echo $this->_tpl_vars['INTRATECD']; ?>
" size="20" maxlength="5" readonly="readonly" /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_SanPham']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="PRDCODE" name="PRDCODE" size="1"  style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
;" disabled="disabled">
      <option value=""></option>	
	  <?php $_from = $this->_tpl_vars['cbo_PRDCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
	  
       <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['PRDCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
         <?php endforeach; endif; unset($_from); ?>  
      
      </select>
    *
    <input type="hidden" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" id="PRDCODEtmp" name="PRDCODEtmp" />
</span></td>
  </tr>
  
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'TERMINTCD-STATUS');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="<?php echo $this->_tpl_vars['lbl_tuchoi']; ?>
" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>/>
 <input value="<?php echo $this->_tpl_vars['lbl_duyet']; ?>
" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="<?php echo $this->_tpl_vars['lbl_lichsuthaydoi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_fdintcddetail.php?TERMINTCD=<?php echo $this->_tpl_vars['TERMINTCD']; ?>
&PRDCODE=<?php echo $this->_tpl_vars['PRDCODE']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>